#import "InvincibleGrinView.h"


@implementation InvincibleGrinView



- (void)setFable:(InvincibleGrinModel *)fable {
	_fable = fable;

	//: 配置cell的UI

}
- (UILabel *)silhouetteAnticipateLabel {
	if (!_silhouetteAnticipateLabel) {
	
        _silhouetteAnticipateLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _silhouetteAnticipateLabel.frame = CGRectMake(38, 1, 37, 36);
        _silhouetteAnticipateLabel.text = @"label_0";
        _silhouetteAnticipateLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightMedium];
        _silhouetteAnticipateLabel.textColor = [UIColor colorWithRed:58/255.0 green:107/255.0 blue:131/255.0 alpha:0.6];
        _silhouetteAnticipateLabel.textAlignment = NSTextAlignmentRight;
        _silhouetteAnticipateLabel.numberOfLines = 0;
	}
	return _silhouetteAnticipateLabel;
}

//: self.grumpyButton 的点击事件
- (void)action_3 {}

//: self.lullabyBtn 的点击事件
- (void)action_5 {}

- (void)xeroxInitUI {
	//: 描述_0
	[self addSubview:self.silhouetteAnticipateLabel];


    //: 描述_1
    self.hologramUnwindLabel = [UILabel new];
    self.hologramUnwindLabel.frame = CGRectMake(22, 34, 170, 91);
    self.hologramUnwindLabel.text = @"label_1";
    self.hologramUnwindLabel.font = [UIFont systemFontOfSize:19 weight:UIFontWeightRegular];
    self.hologramUnwindLabel.textColor = [UIColor colorWithRed:20/255.0 green:51/255.0 blue:135/255.0 alpha:0.9];
    self.hologramUnwindLabel.textAlignment = NSTextAlignmentRight;
    self.hologramUnwindLabel.numberOfLines = 3;
    [self addSubview:self.hologramUnwindLabel];


    //: 描述_2
    UIImageView *juggleFreedom = [UIImageView new];
    juggleFreedom.contentMode = UIViewContentModeScaleAspectFill;
    juggleFreedom.clipsToBounds = YES;
    juggleFreedom.layer.cornerRadius = 17;
    juggleFreedom.layer.masksToBounds = YES;
    UIImage *anticipateCourageous = [UIImage imageNamed:@"images/image_2.png"];
    if (anticipateCourageous) {
	    juggleFreedom.image = anticipateCourageous;
    }
    self.doodleElevateGlimmerImageView = juggleFreedom;
    [self addSubview:juggleFreedom];
	[self.doodleElevateGlimmerImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(128);
		make.height.mas_equalTo(125);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(14));
	}];


    //: 描述_3
    self.grumpyButton = [[UIButton alloc] init];
    UIImage *volatilePlumeTerrain = [UIImage imageNamed:@"images/icon_3.png"];
    if (volatilePlumeTerrain) {
	    [self.grumpyButton setImage:volatilePlumeTerrain forState:UIControlStateNormal];
    }
    [self.grumpyButton setTitle:@"button_3" forState:UIControlStateNormal];
    [self.grumpyButton setTitle:@"button_selected_3" forState:UIControlStateSelected];
    [self.grumpyButton setTitleColor:[UIColor colorWithRed:92/255.0 green:35/255.0 blue:206/255.0 alpha:0.5] forState:UIControlStateNormal];
    [self.grumpyButton setTitleColor:[UIColor colorWithRed:48/255.0 green:142/255.0 blue:91/255.0 alpha:0.8] forState:UIControlStateSelected];
    [self.grumpyButton addTarget:self action:@selector(action_3) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.grumpyButton];
	[self.grumpyButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(74);
		make.height.mas_equalTo(185);
	}];


    //: 描述_4
    UIView *leapGrin = [[UIView alloc] init];
    leapGrin.frame = CGRectMake(10, 31, 161, 99);
    self.rebirthView = leapGrin;
    [self addSubview:leapGrin];


    //: 描述_5
    self.lullabyBtn = [UIButton new];
    self.lullabyBtn.frame = CGRectMake(4, 41, 56, 83);
    UIImage *illuminateElusiveAbandon = [UIImage imageNamed:@"images/icon_5.png"];
    if (illuminateElusiveAbandon) {
	    [self.lullabyBtn setImage:illuminateElusiveAbandon forState:UIControlStateNormal];
    }
    [self.lullabyBtn setTitle:@"button_5" forState:UIControlStateNormal];
    [self.lullabyBtn setTitle:@"button_selected_5" forState:UIControlStateSelected];
    [self.lullabyBtn setTitleColor:[UIColor colorWithRed:141/255.0 green:86/255.0 blue:51/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.lullabyBtn setTitleColor:[UIColor colorWithRed:64/255.0 green:151/255.0 blue:132/255.0 alpha:0.7] forState:UIControlStateSelected];
    [self.lullabyBtn addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.lullabyBtn];
}


@end
